package org.openwebtop.common.aop.constant;

/**
 * CacheRefreshPeriod Type
 *
 * @author Jaehyeon Nam
 * @Since 2010. 1. 11.
 */
public enum CacheRefreshPeriod {
	REFRESH_1_MINUTE("*/1 * * * *"),
	REFRESH_5_MINUTE("*/5 * * * *"),
	REFRESH_10_MINUTE("*/10 * * * *"),
	REFRESH_1_HOUR("0 * * * *");

	private String crontabExpression;

	private CacheRefreshPeriod(String crontabExpression) {
		this.crontabExpression = crontabExpression;
	}

	public String getCrontabExpression() {
		return crontabExpression;
	}

}
